package cn.oracle.eshop.comment.mapper;

import cn.oracle.eshop.comment.domain.CommentInfoDO;
import org.apache.ibatis.annotations.Options;
import org.springframework.stereotype.Repository;
/***
 * 评论信息管理模块的mapper组件
 * @author wyh
 * @date 2022/1/24
 * @return
*/

@Repository
public interface CommentInfoMapper {
/***
 *新增评论信息
 * @author wyh
 * @date 2022/1/24
 * @param commentInfoDO  评论信息的对象
 * @return void
*/
@Options(useGeneratedKeys = true,keyProperty = "id")
    void saveCommentInfo(CommentInfoDO commentInfoDO);

}
